<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: src/libslic3r/Point.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f69e6fbaea45487e96bc9ed8ccf9ff8f.html">libslic3r</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Point.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="libslic3r_8h_source.html">libslic3r.h</a>&quot;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &lt;sstream&gt;</code><br />
<code>#include &lt;string&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &lt;boost/version.hpp&gt;</code><br />
<code>#include &lt;boost/polygon/polygon.hpp&gt;</code><br />
</div>
<p><a href="_point_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_point.html">Slic3r::Point</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_point3.html">Slic3r::Point3</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_pointf.html">Slic3r::Pointf</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_pointf3.html">Slic3r::Pointf3</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1polygon_1_1geometry__concept_3_01coord__t_01_4.html">boost::polygon::geometry_concept&lt; coord_t &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1polygon_1_1coordinate__traits_3_01coord__t_01_4.html">boost::polygon::coordinate_traits&lt; coord_t &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1polygon_1_1geometry__concept_3_01_point_01_4.html">boost::polygon::geometry_concept&lt; Point &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1polygon_1_1point__traits_3_01_point_01_4.html">boost::polygon::point_traits&lt; Point &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structboost_1_1polygon_1_1point__mutable__traits_3_01_point_01_4.html">boost::polygon::point_mutable_traits&lt; Point &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespace_slic3r"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html">Slic3r</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceboost"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost.html">boost</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespaceboost_1_1polygon"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceboost_1_1polygon.html">boost::polygon</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a3c29f6a054e92664e6b8d1f458252dab"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a3c29f6a054e92664e6b8d1f458252dab">Slic3r::Vector</a></td></tr>
<tr class="separator:a3c29f6a054e92664e6b8d1f458252dab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c413ee3f91e2e712c7d741f8d96adfd"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a5c413ee3f91e2e712c7d741f8d96adfd">Slic3r::Vectorf</a></td></tr>
<tr class="separator:a5c413ee3f91e2e712c7d741f8d96adfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96d7834529e8e477798befb6be229d27"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a96d7834529e8e477798befb6be229d27">Slic3r::Vectorf3</a></td></tr>
<tr class="separator:a96d7834529e8e477798befb6be229d27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47d04f71423ecef9ad36e18046f11c3c"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_slic3r_1_1_point.html">Point</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Slic3r::Points</a></td></tr>
<tr class="separator:a47d04f71423ecef9ad36e18046f11c3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4ae165062274afc765e0460eedff643"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_slic3r_1_1_point.html">Point</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#ab4ae165062274afc765e0460eedff643">Slic3r::PointPtrs</a></td></tr>
<tr class="separator:ab4ae165062274afc765e0460eedff643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae83d5e833b46f569677f20a103981cfa"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; const <a class="el" href="class_slic3r_1_1_point.html">Point</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#ae83d5e833b46f569677f20a103981cfa">Slic3r::PointConstPtrs</a></td></tr>
<tr class="separator:ae83d5e833b46f569677f20a103981cfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af371c2c21f879fac0a0c172a992df9a5"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#af371c2c21f879fac0a0c172a992df9a5">Slic3r::Pointfs</a></td></tr>
<tr class="separator:af371c2c21f879fac0a0c172a992df9a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e902317d6a5dd562530764ca117df76"><td class="memItemLeft" align="right" valign="top">typedef std::vector&lt; <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a3e902317d6a5dd562530764ca117df76">Slic3r::Pointf3s</a></td></tr>
<tr class="separator:a3e902317d6a5dd562530764ca117df76"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a46475996c5eade5b333bd4882657ffac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a46475996c5eade5b333bd4882657ffac">Slic3r::operator+</a> (const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point1, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point2)</td></tr>
<tr class="separator:a46475996c5eade5b333bd4882657ffac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd355e6466c54c6f2ded488c93310dfd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#afd355e6466c54c6f2ded488c93310dfd">Slic3r::operator-</a> (const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point1, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point2)</td></tr>
<tr class="separator:afd355e6466c54c6f2ded488c93310dfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a7d3ed9b7d2bb6d9b00de3b985ca408"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_point.html">Point</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a3a7d3ed9b7d2bb6d9b00de3b985ca408">Slic3r::operator*</a> (double scalar, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;point2)</td></tr>
<tr class="separator:a3a7d3ed9b7d2bb6d9b00de3b985ca408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8928c899e46c851436168cd2e66849f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#af8928c899e46c851436168cd2e66849f">Slic3r::operator+=</a> (<a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;dst, const <a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;src)</td></tr>
<tr class="separator:af8928c899e46c851436168cd2e66849f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05a1589b555b8751c5794102ea674291"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a05a1589b555b8751c5794102ea674291">Slic3r::operator+=</a> (<a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a> &amp;dst, const <a class="el" href="class_slic3r_1_1_point.html">Point</a> &amp;p)</td></tr>
<tr class="separator:a05a1589b555b8751c5794102ea674291"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a9c27bec8718f0c46ff353fb1d89774"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a4a9c27bec8718f0c46ff353fb1d89774">Slic3r::operator&lt;&lt;</a> (std::ostream &amp;stm, const <a class="el" href="class_slic3r_1_1_pointf.html">Pointf</a> &amp;pointf)</td></tr>
<tr class="separator:a4a9c27bec8718f0c46ff353fb1d89774"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a5fa6b22dc3ce1a81668b00b53e6283"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a1a5fa6b22dc3ce1a81668b00b53e6283">Slic3r::operator&lt;&lt;</a> (std::ostream &amp;stm, const <a class="el" href="class_slic3r_1_1_pointf3.html">Pointf3</a> &amp;pointf3)</td></tr>
<tr class="separator:a1a5fa6b22dc3ce1a81668b00b53e6283"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15a139c8dfb5ba5fd768cd42d888ab36"><td class="memTemplParams" colspan="2">template&lt;class T &gt; </td></tr>
<tr class="memitem:a15a139c8dfb5ba5fd768cd42d888ab36"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a47d04f71423ecef9ad36e18046f11c3c">Points</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespace_slic3r.html#a15a139c8dfb5ba5fd768cd42d888ab36">Slic3r::to_points</a> (const std::vector&lt; T &gt; &amp;items)</td></tr>
<tr class="separator:a15a139c8dfb5ba5fd768cd42d888ab36"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
